From: Yosef Or Boczko Date: Wed, 11 Dec 2013 20:36:49 +0000 (+0200) Subject: unlockDialog: Explicitly set horizontal alignment X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~1013^2^2~2992 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=efca9e11d6b704ebae2f0337a061d43b6d51131c;p=gnome-shell.git unlockDialog: Explicitly set horizontal alignment When set to fill, the label will always end up left-aligned, which is only correct in LTR locales. Set the alignment explicitly to work in both RTL and LTR locales. https://bugzilla.gnome.org/show_bug.cgi?id=712638 --- diff --git a/js/ui/unlockDialog.js b/js/ui/unlockDialog.js index d43df839a..06966a30f 100644 --- a/js/ui/unlockDialog.js +++ b/js/ui/unlockDialog.js @@ -71,7 +71,7 @@ const UnlockDialog = new Lang.Class({ child: otherUserLabel, reactive: true, x_align: St.Align.START, - x_fill: true }); + x_fill: false }); this._otherUserButton.connect('clicked', Lang.bind(this, this._otherUserClicked)); this._promptBox.add_child(this._otherUserButton); } else {